before backup, you can ensure that the MD5 and file length information of the files modified after the last backup are also recorded in the P4 dB. P4 verify not only identifies server issues before backup, but also verifies that the recovery is correct. 2) create a checkpoint. Run the command p4d with the parameter-JC (Journal-create). This step actually contains creating a checkpoint and then saving the journal as the old journal, create a new journ
Introduction to backup implemented by perforce
Creation Method: On the perforce server, use the-JC flag to create the server.
By default, the P4d-r root-JC is saved as the checkpoint. N file and journal. n-1 in the root directory of the perforce program to record historical data at the same time.
The last checkpint. N and this journal. This is all the information of the current checkpoint database. For example, you can use checkpint.5 and change log
pull command. You can use P4 replicate, P4 pull, and p4d to create a replicated server.
1) P4 replicate: indicates that the database of replicate p4 is from one server to another;
2) P4 pull: indicates that the database and versioned files of replicate P4 are transferred from one server to another;
3) In most cases, we use P4 pull, because not only the database of replicate P4, but also the versioned files of automatically replicate P4;
4) The start
P4d.exe is used to manage p4server in the 1st region of a p4server.
2) You can also use the sub-command admin of P4 to execute some p4server management on a remote machine. In this case, you need to set environment variables such as p4port and p4user.
3rd, use p4admin.exe of uifor management.
Refer:Http://www.perforce.com/perforce/doc.current/manuals/cmdref/admin.html
Http://www.perforce.com/perforce/doc.current/manuals/p4sag/index.html
2. p4d.exe
110000p4d.exe
Note:
-JC
Perforce server is built on linux. 1. download p4d and grant the executable permission: chmod + xp4d. Put it in a folder and add the folder path to the environment variable to facilitate the use of the command line. ExportPATH./perforce_sev/: $ PATH # (here I put it in the current...
Perforce server is built on linux. 1. download p4d and grant the executable permission: chmod + x
:
Http://www.perforce.com/perforce/technical.html
For more detailed command formats refer to http://www.perforce.com/perforce/products/p4.html
P4 client download http://www.perforce.com/perforce/downloads/index.html
**************************************** **************************************** **************************************** *Quick Start With perforce
What is perforce? Reference http://www.perforce.com
[Concept]Let's talk about the concept first. Generally, version control software i
Perforce server is built on linux. 1. Download p4d and grant the executable permission: chmod + x p4d. Put it in a folder and add the folder path to the environment variable to facilitate the use of the command line. Export PATH =. /cece_sev/: $ PATH # (here I put it in the perforce_sev folder) 2. configure the environment variables, set the p4 root (location where data files are stored), port (server port)
In Windows, the installation file performance.exe can install perforce or proxy as Windows Services. The default services are perforce and perforce proxy respectively. However, when multiple performanceor proxyservicesare installed on the same Windows system, you must use svcinst.exe (which can be obtained from the perforce Server Installation Directory) to manually install services.
Install the second perforce Server
Suppose we already have a perforce server installed in c: \ perforce
burden on administrators. For example:
P4d-In server2-a central: 1666-P 1999
Server2 uses centralized server central authorization to manage users and permissions. Server2 depends on the user, group, protection, review, and license information of the central server.
In addition to the centralized authorization server, the latest p4server also supports the chagnelist of multiple p4servers to be managed in the same server, so that the compa
four dividers are as follows:PS1:/DEV/HDA1 (1-100)Ps2:/dev/hda2 (101-200)Ps3:/dev/hda3 (201-300)PS4:/DEV/HDA4 (301-400)These four sets of delimited information becomeMainOrextending the divider slot。The advantages of separation: Data security, high performanceIn fact, you can separate a hard disk into more than 10 slots using the extended split method.The purpose of the extended segmentation is to use the additional sectors to record the segmentation information, and the extension segment itsel
. On the server side perforce done very streamlined, not too much reliance, a p4d, configuration is also very simple, its main task is to manage a file warehouse depot. In the client side has the user and workspace two concepts, user name is a user registered on the server, each user can have 0 or more workspace, can even switch to someone else's workspace up, As long as you have permission. Simply put, Workspace is a depot to the local map, such as w
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.